package com.feishi.core.analytic.packing.contentpacking;

import com.feishi.core.analytic.element.AnalyticContentBodyElement;
import com.feishi.core.analytic.element.AnalyticContentElement;
import com.feishi.core.analytic.packing.build.Build;
import com.feishi.core.analytic.packing.build.BuildSession;
import com.feishi.core.analytic.packing.debuild.DeBuildSession;

/**
 * Created by caixq on 5/16 016.
 */
public abstract class AnalyticContentPacking {

    protected byte[] content;
    public BuildSession buildSession;

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }

    public abstract int getContentLength() ;

    public abstract void debuildContent(byte[] bytes);
    public abstract void debuildContent();

    public abstract void initData();

    public String getName() {
        return getContentElement().getName();
    }
    public abstract AnalyticContentElement getContentElement();
}
